// pages/demo6/preview/index.js
Page({

	/**
	 * 页面的初始数据
	 */
	data: {
		images: ["https://www.baidu.com/img/baidu_jgylogo3.gif", "https://www.baidu.com/img/baidu_jgylogo3.gif", "https://www.baidu.com/img/baidu_jgylogo3.gif", "https://www.baidu.com/img/baidu_jgylogo3.gif"]
	},
	previewImg: function(e){
		console.log(e);
		var images = this.data.images;
		wx.previewImage({
			urls: images,
			current: images[0]
		})
	}
})